
<%
if (typeof(catg) === "undefined") {
    catg = '';
}
%>
<div class="navbar navbar-inverse navbar-static-top">
	<div class="navbar-inner">
		<div class="container">
			<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">导航菜单</a>
			<div class="nav-collapse">
				<ul class="nav">
					<% if (catg === 'index') { %>
					<li class="active"><a href="./index.html">首页</a></li>
					<% } else { %>
					<li><a href="./index.html">首页</a></li>
					<% } %>
					
					<% if (catg === 'blog') { %>
					<li class="active"><a href="./index-blog.html">博客</a></li>
					<% } else { %>
					<li><a href="./index-blog.html">博客</a></li>
					<% } %>
					
					<% if (catg === 'news') { %>
					<li class="active"><a href="./index-news.html">资讯</a></li>
					<% } else { %>
					<li><a href="./index-news.html">资讯</a></li>
					<% } %>
					
					<% if (catg === 'album') { %>
					<li class="active"><a href="./index-album.html">图片</a></li>
					<% } else { %>
					<li><a href="./index-album.html">图片</a></li>
					<% } %>
					
					<% if (catg === 'misc') { %>
					<li class="active"><a href="./index-misc.html">杂谈</a></li>
					<% } else { %>
					<li><a href="./index-misc.html">杂谈</a></li>
					<% } %>
				</ul>
				<ul class="nav pull-right">
					<% if (catg === 'about') { %>
					<li class="active"><a href="./index-about.html">关于</a></li>
					<% } else { %>
					<li><a href="./index-about.html">关于</a></li>
					<% } %>
				</ul>
			</div>
			<!--/.nav-collapse -->
		</div>
	</div>
</div>
<!-- /.navbar -->